/*
 * Stats.cpp
 *
 *  Created on: Oct 8, 2011
 *  Created by: Devin Manno
 *  Updated by: Devin Manno,
 *	Last Update: Oct 14, 2011
 */
#include "Stats.h"

Stats::Stats(){
	agility = 0;		// affects character's ability to dodge attacks
	strength = 0;		// warrior's highest weighted attack damage stat
	intelligence = 0;	// wizard's highest weighted attack damage stat
	concentration = 0;	// ranger's highest weighted attack damage stat
	maxHitPoints = 0;	// default 100
	maxActionPoints = 0;	// max action points
}

Stats::Stats(int agil, int str, int intel, int conc, int maxAP, int maxHP) {
	agility = agil;		// affects character's ability to dodge attacks
	strength = str;		// warrior's highest weighted attack damage stat
	intelligence = intel;	// wizard's highest weighted attack damage stat
	concentration = conc;	// ranger's highest weighted attack damage stat
	maxHitPoints = maxAP;	// default 100
	maxActionPoints = maxHP;	// max action points
}

Stats::~Stats() {
	// TODO Auto-generated destructor stub
}

// Getters
int Stats::getAgility() const{
	return agility;
}

int Stats::getStrength()const{
	return strength;
}

int Stats::getIntelligence() const{
	return intelligence;
}

int Stats::getConcentration() const{
	return concentration;
}

int Stats::getMaxActionPoints()const{
	return maxActionPoints;
}

int Stats::getMaxHitPoints()const{
	return maxHitPoints;
}

//Setters
void Stats::setStats(int agil, int str, int intel, int conc, int maxAP, int maxHP){
	agility = agil;		// affects character's ability to dodge attacks
	strength = str;		// warrior's highest weighted attack damage stat
	intelligence = intel;	// wizard's highest weighted attack damage stat
	concentration = conc;	// ranger's highest weighted attack damage stat
	maxHitPoints = maxAP;	// default 100
	maxActionPoints = maxHP;	// max action points
}

void Stats::setAgility(int agil){
	agility = agil;
}

void Stats::setStrength(int stren){
	strength = stren;
}

void Stats::setIntelligence(int intel){
	intelligence = intel;
}

void Stats::setConcentration(int concen){
	concentration = concen;
}

void Stats::setMaxActionPoints(int max){
	maxActionPoints = max;
}

void Stats::setMaxHitPoints(int max){
	maxHitPoints = max;
}
